package com.pub;
import java.io.IOException;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class CheckPermission implements MethodInterceptor{
	public Object invoke(MethodInvocation arg0) throws Throwable,Exception,IOException {
//		System.out.println("切片开始");
//		System.out.println("执行"+arg0.getMethod());
		 Object obj=arg0.proceed();
//		System.out.println("切片结束");
		
		return obj;
	}
}